import { defineStore } from "pinia";

const defaultState = {
    visible: false,
    vols: [] as any[]
};

export const useVols = defineStore("vols", {
    state: () => defaultState,
    actions: {
        changeVols(val: any[]) {
            this.vols = val;
        },
        changeVisible(val: boolean) {
            this.visible = val;
        }
    }
});
